/**
 * @file
 *           base64.h
 * @brief
 *          <fillin>purpose
 *
 * @par Author (last changes):
 *          - Herea Adrian
 *          
 * @par Description:
 *
 *
 * @par Module-History:
 * @verbatim
 *  Date        Author				Reason
 *  15.01.2010  Herea Adrian         Initial creation
 *
 * @endverbatim
 *
 * @par Copyright Notice:
 * @verbatim
 * Copyright (C) 2010
 * All Rights Reserved.
 * The reproduction, transmission or use of this document or its contents is
 * not permitted without express written authority.
 * Offenders will be liable for damages. All rights, including rights created
 * by patent grant or registration of a utility model or design, are reserved.
 **/
#pragma once

#include <WinSock2.h>
#include <string>
#include "AbstractSocket.h"
#include "ReceiverListener.h"

using namespace std;

class SocketServer : public AbstractSocket
{
private:
  SocketServer(SOCKET winSocketServer);
public:
  static SocketServer*
  init(string ipAddress, int port);
  void
  run();
  ~SocketServer(void);
private:
  SOCKET m_winSocketServer;
};
